﻿using System;

namespace Classes
{
    class Processor
    {
        public Processor(int coresCount) 
            : this(coresCount, string.Empty)
        {
            
        }

        public Processor(int coresCount, string brand)
        {
            Brand = brand;
            Cores = new Core[coresCount];
        }
        public string Brand { get; set; }
        public Core[] Cores { get; set; }
        public int CoresCount 
        {
            get
            {
                return Cores.Length;
            } 
        }
    }
}
